<?php
require "init.php";

header('Content-Type: text/plain');
try {
    $result=$pdo->exec("INSERT INTO `demo`.`record` (`id`, `name`, `date`, `description`) VALUES (NULL, 'zhangsan', '23423424', 'dsedfewfwefwew')");
    print_r($pdo->lastInsertId());
    print_r($result);
}
catch (PDOException $exec) {
    print_r($exec);
    exit;
}
